package com.indexingsystem.system.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.AnalysisListMapper;
import com.indexingsystem.boss.entity.AnalysisList;
import com.indexingsystem.system.service.IAnalysisListService;

@Service
public class AnalysisListServiceImpl implements IAnalysisListService{
	
	@Resource
	private AnalysisListMapper analysisListMapper;

	@Override
	public int deleteByPrimaryKey(String analysisId) {
		return analysisListMapper.deleteByPrimaryKey(analysisId);
	}

	@Override
	public int insert(AnalysisList record) {
		return analysisListMapper.insert(record);
	}

	@Override
	public int insertSelective(AnalysisList record) {
		return analysisListMapper.insertSelective(record);
	}

	@Override
	public AnalysisList selectByPrimaryKey(String analysisId) {
		return analysisListMapper.selectByPrimaryKey(analysisId);
	}
	
	@Override
	public AnalysisList selectAnalysisiByInstitutionId(String institutionId) {
		return analysisListMapper.selectAnalysisiByInstitutionId(institutionId);
	}

	@Override
	public int updateByPrimaryKeySelective(AnalysisList record) {
		return analysisListMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AnalysisList record) {
		return analysisListMapper.updateByPrimaryKey(record);
	}
}
